import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
//导入动画库
//导入字体图标
import "./assets/static/font/iconfont.css"
//导入初始化样式表
import "./assets/static/css/basic.css"
Vue.config.productionTip = false;
// vant
import Vant from 'vant';
import 'vant/lib/index.css';
//导入账户密码mockjs
// import "./api/login.js"
//导入轮播图
import "./api/swiper.js"
//导入城市
// import "./api/city.js"
//导入余票接口数据
import './api/index.js'
//导入axios
import axios from 'axios'
//导入后全局配置
//全局挂载的方法
Vue.prototype.$http = axios;
Vue.use(Vant);
Vue.filter('num', function(value) {
    // 返回处理后的值
    return value + '张'
})
Vue.filter('price', function(value) {
    // 返回处理后的值
    return '￥' + value;
})
new Vue({
    el: '#app',
    router,
    store,
    render: (h) => h(App),
}).$mount("#app")